/** *******************************************************************
 * FlexDatabaseManager
 * @author  Jonnie Spratley
 * @contact jonniespratley@gmail.com
 * @internal
 ******************************************************************* */
package com.jonniespratley.flexdatabasemanager.events.tables
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
		
	public final class UpdateRecordEvent extends CairngormEvent
	{
		public static const UPDATE_RECORD_EVENT:String = "UPDATE_RECORD_EVENT";
		
		public var aQuery:String;
		/* public var aValue:String;
		public var aId:String; */
				
		public function UpdateRecordEvent( aQuery:String )
		{
			super( UPDATE_RECORD_EVENT );
			this.aQuery = aQuery;
			/* this.aValue = aValue;
			this.aId = aId; */
		}
		
		override public function clone():Event
		{
			return new UpdateRecordEvent( aQuery );
		}
	}
}